﻿using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace SqlTdd.Core.Model
{
    public class SqlTddTestSuite
    {
        public SqlTddTestSuite(string schema, string suite)
        {
            Name = suite;
            Schema = schema;
        }

        public virtual string Name { get; set; }
        public virtual string Schema { get; set; }
        public virtual IList<SqlTddTestMethod> TestMethods { get; set; }

        public virtual void AddTestMethod(SqlTddTestMethod test)
        {
            if (TestMethods == null)
                TestMethods = new List<SqlTddTestMethod>();
            TestMethods.Add(test);
        }
    }
}